doctype html
html(ng-app="miou")
  head
    title= title
    meta(http-equiv="X-UA-Compatible" content="IE=edge")
    meta(content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport")
    link(rel='stylesheet', href='/stylesheets/style.css')
    link(rel='stylesheet', href='/bootstrap/css/bootstrap.min.css')
    link(rel='stylesheet', href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css')
    link(rel='stylesheet', href='https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css')
    link(rel='stylesheet', href='/dist/css/AdminLTE.min.css')
    link(rel='stylesheet', href='/dist/css/skins/skin-blue.min.css')
    script(src="plugins/jQuery/jQuery-2.1.4.min.js")
    script(src="javascripts/angular.js")
    script(src="bootstrap/js/bootstrap.min.js")
    script(src="dist/js/app.min.js")
  body(class="skin-blue sidebar-mini")
    block content
  script(type='text/javascript').
    var app = angular.module('miou', []);
    app.controller('mainController', function ($http,$scope) {
      $scope.openHtml = function (url) {
        $http.get(url).success(function (response) {
          $('#data').html(response);
        });
      }
    });
